package com.managermype.domain;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@SuppressWarnings("serial")
@Repository
public class Departament implements Serializable{

	private Integer idDepartament;
	private String name;
	private String description;

	@Autowired
	private Enterprise myEnterprise;

	@Autowired
	private List<User> myUsers;

	public Integer getIdDepartament() {
		return idDepartament;
	}

	public void setIdDepartament(Integer idDepartament) {
		this.idDepartament = idDepartament;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Enterprise getMyEnterprise() {
		return myEnterprise;
	}

	public void setMyEnterprise(Enterprise myEnterprise) {
		this.myEnterprise = myEnterprise;
	}

	public List<User> getMyUsers() {
		return myUsers;
	}

	public void setMyUsers(List<User> myUsers) {
		this.myUsers = myUsers;
	}

}
